CREATE OR ALTER TRIGGER OPERPROFS_BI0 FOR OPERPROFS
ACTIVE BEFORE INSERT POSITION 0
AS
begin
  new.operprof_id = gen_id(s_operobj, 1);
end
^